package com.szu.subject.ui.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import io.reactivex.netty.protocol.http.server.HttpServerResponse;

/**
 * 页面管理
 * @author Shenxiaolin
 *
 */
//@RequestMapping("page")
@Controller
public class WebPageController {
	@RequestMapping("chpassword")
	public String chPassword(){
		/*修改密码界面*/		
		return "common/chPassword";
	}
	
	@RequestMapping("identity-code")
	public String identityCode(){
		/*验证码*/
		return "common/identityCode";
	}
	
	@RequestMapping("login")
	public String login(){
		/*登录界面*/
		return "common/login";
	}
	
	@RequestMapping("main")
	public String mainPage(){
		/*主界面*/
		return "common/main";
	}
	
	@RequestMapping("footer-button")
	public String footerbutton(){
		/*底部按钮界面*/
		return "footer/footerButton";
	}
	
	@RequestMapping("yellow-warning")
	public String yellowwarning(){
		/*黄牌警告界面*/
		return "footer/yellowWarning";
	}
	
	@RequestMapping("college-list")
	public String collegelist(){
		/*左边学院列表界面*/
		return "left/collegeList";
	}
	
	@RequestMapping("college-course-list")
	public String collegecourselist(){
		/*学院开课列表界面*/
		return "middle/collegeCourseList";
	}
	
	@RequestMapping("personal-info")
	public String personalinfo(){
		/*个人信息界面*/
		return "middle/personalInfo";
	}
	
	@RequestMapping("instruction")
	public String instruction(){
		/*使用说明界面*/
		return "middle/instruction";
	}
	
	@RequestMapping("course-list")
	public String courseList(){
		return "top/courseList";
	}
	
	@RequestMapping("course-table")
	public String courseTable(){
		return "top/courseTable";
	}
	
	@RequestMapping("main-ting-course")
	public String mainTingCourse(){
		return "top/mainTingCourse";
	}
	
	@RequestMapping("course-description")
	public String courseDescription(){
		/*对应课程的介绍*/
		return "middle/courseDescription";
	}
	
	@RequestMapping("course-number")
	public String courseNumber(){
		/*选课人数*/
		return "middle/courseNumber";
	}
	
	@RequestMapping("get-course-by-account")
	public String getCourseByAccount(){
		/*根据课程号获取课程信息*/
		return "middle/getCourseByAccount";
	}
	
	@RequestMapping("get-course-by-name")
	public String getCourseByName(){
		/*根据课程名称获取课程信息*/
		return "middle/getCourseByName";
	}
	
	@RequestMapping("get-course-by-teachername")
	public String getCourseByTeacherName(){
		/*根据主讲老师获取课程信息*/
		return "middle/getCourseByTeacherName";
	}
	
	@RequestMapping("course-choosing")
	public String courseChoosing(){
		/*选课过程中所需填写的验证码*/
		return "top/courseChoosing";
	}
	
}
